package test.enba.mysql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.enba.boot.mysql.base.BasePojo;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user")
public class User extends BasePojo {

  @TableId(type = IdType.AUTO)
  private Long id;

  private String name;
  private Integer age;
  private String email;
}
